package com.learning.jquizenglish.common.controller;

import com.learning.jquizenglish.model.HistoryModel;


public class JQuizHistory {

	private static JQuizHistory INSTANCE = null;
	private HistoryModel historyModel;
	
	public static JQuizHistory getInstance(){
		if (INSTANCE == null) {
			INSTANCE = new JQuizHistory();
		}
		return INSTANCE;
	}

	public HistoryModel getHistoryModel() {
		return historyModel;
	}

	public void setHistoryModel(HistoryModel historyModel) {
		this.historyModel = historyModel;
	}
	
	public void clearData(){
		historyModel = null;
	}
}
